package com.example.fence.config;

public class CommonConnectionConfig {
    //或者添加注解，从yml启动配置文件中读取这些配置， 这里没有本质区别

    public final static int QOS_0 = 0;

    public final static int QOS_1 = 1;

    public final static int QOS_2 = 2;

    public final static String USER_NAME = "FenceClient";

    public final static int PASSWORD = 13011301;

    public final static int KEEP_ALIVE = 60;

    //连接地址
    public static final String HOST = "tcp://47.92.164.101:1884";

    public static final String TBHOST = "tcp://47.92.164.101:21883";

    // 接收方：MyMqttSubClient  订阅的主题
    public static final String TOPIC_B1 = "+/+/B1";



}
